<?php
/**
 * Static Content controller .
 * @author shakil
 * 
 */
class JavaScript_Controller extends CI_Controller
{
	function __construct()
	{
		parent::__construct();
		$this->load->helper( array('utility_helper'));    
		ob_start("ob_gzhandler"); 
		http_not_modified(STATIC_CONTENT_LAST_MODIFIED);
		header("Content-Type: application/javascript");
		set_http_cache_headers(STATIC_CONTENT_LAST_MODIFIED, STATIC_CONTENT_CACHE);
		
	}
		
	function get_config()
	{
		$this->load->view('javascript_config');
	}
}
?>
